<!doctype html>
<html lang="zh-CN">

<head>
  <!-- 必须的 meta 标签 -->
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <!-- Bootstrap 的 CSS 文件 -->
  <link href="./css/bootstrap.min.css" rel="stylesheet">
  <link rel="shortcut icon" href="./images/icon.png">


  <title>油冷柜/Immersion Cooling BS-2207-B-01 V1.0</title>
</head>

<body>

  <div class="container">


    <nav class="navbar navbar-expand-lg navbar-light bg-light">
      <div class="container-fluid">
        <!-- <a class="navbar-brand" href="#">Navbar</a> -->

        <a class="navbar-brand" href="#">
          <!-- <img src="https://v5.bootcss.com/docs/5.1/assets/brand/bootstrap-logo.svg" alt="" width="30" height="24" class="d-inline-block align-text-top"> -->
          <img src="./images/icon.png" alt="" width="30px" height="24px">
          BAISHI
        </a>


        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent"
          aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
          <span class="navbar-toggler-icon"></span>
        </button>


        <div class="collapse navbar-collapse" id="navbarSupportedContent">
          <ul class="navbar-nav me-auto mb-2 mb-lg-0">
            <li class="nav-item">
              <a class="nav-link" href="./index.html">PRODUCT</a>
            </li>
            <li class="nav-item">
              <a class="nav-link" active aria-current="page" href="./contact.html">CONTACT</a>
            </li>

            <li class="nav-item">
              <a class="nav-link disabled">SHIP</a>
            </li>
          </ul>

        </div>

      </div>
    </nav>



    <!-- 内容 -->

    <div style="margin-top: 20px;"></div>

    <h1>提交咨询信息</h1>

    <div class="row" style="margin-top: 20px;">



      <div class="col-sm-12 col-md-6" style="text-align: center;">
      
        <select class="form-select" aria-label="Default select example" onchange="ChangeImage()" id="ProductID">
          <option selected>Open this select menu</option>
          <option value="1">油冷柜/Immersion Cooling BS-2207-B-01 V1.0</option>
          <option value="2">冷却塔/Tower BS-2207-B-06 V1.0</option>
          <option value="3">连接件/Connector BS-2207-B-08 V1.0</option>
          <option value="4">闭式冷塔集装箱/Immersion Cooling Container</option>
          <option value="5">PDU(24 interfaces) BS-2207-B-03 V1.0</option>
        </select>


        <div>
          <img src="" class="img-fluid" alt="" id="img">
        </div>

      </div>


      <div class="col-sm-12 col-md-6">

        <div class="mb-3">
          <label for="name" class="form-label">Name</label>
          <input type="text" class="form-control" id="name" placeholder="Your Name">
        </div>

        <div class="mb-3">
          <label for="phone" class="form-label">Phone</label>
          <input type="tel" class="form-control" id="phone" placeholder="Phone">
        </div>

        <div class="mb-3">
          <label for="exampleFormControlInput1" class="form-label">Email address</label>
          <input type="email" class="form-control" id="email" placeholder="name@example.com">
        </div>



        <div class="mb-3">
          <label for="message" class="form-label">Message Board</label>
          <textarea class="form-control" id="message" rows="3"></textarea>
        </div>

      </div>

    </div>
    <!-- 内容 end -->

    <div style="margin-top: 60px;">
      <hr />
    </div>


    <!-- FOOTER -->
    <footer style="margin-top: 60px; margin-bottom: 30px;">


      <div class="row">

        <div class="col-sm-12 col-md-6">


          <P class="lead">CONTACT</P>
          <P>PHONE：(+86) 010-6957 6951</P>
          <P>EMAIL：cxb@bai-shi.com</P>



        </div>

        <div class="col-sm-12 col-md-6">

          <P class="lead">CONTACT</P>
          <P>PHONE：(+86) 010-6957 6951</P>
          <P>EMAIL：cxb@bai-shi.com</P>


        </div>

      </div>

      <p>&copy; 2022 BaiShiZhiHui Company, Inc. &middot; <a href="#">Privacy</a> &middot; <a href="#">Terms</a></p>
    </footer>
  </div><!-- /.container -->




  <!-- JavaScript 文件是可选的。从以下两种建议中选择一个即可！ -->

  <!-- 选项 1：包含 Popper 的 Bootstrap 集成包 -->
  <script src="./js/bootstrap.bundle.min.js"></script>
  <script src="https://upcdn.b0.upaiyun.com/libs/jquery/jquery-2.0.2.min.js"></script>

  <style>
    .card img {
      height: 200px;
      width: 200px;
      margin: 0 auto;

    }

    .card:hover {
      background-color: #c6c6c6;
    }
  </style>

  <script>

    var images = [
      "",
      "./images/BS-2207-B-01 v1.0.png",
      "./images/BS-2207-B-06 V1.0.png",
      "./images/BS-2207-B-08 V1.0.png",
      "./images/BS-2207-B-04 V1.0.png",
      "./images/BS-2207-B-03 V1.0.png",
    ]

    function ChangeImage() {

      document.getElementById("img").removeAttribute("width")

      document.getElementById("img").width
      var product_id = document.getElementById('ProductID').value

      document.getElementById("img").src = images[product_id]

      if (product_id == 1 | product_id == 2) {

        document.getElementById("img").width = 300
        document.getElementById("img").style.marginTop = "20px"

      }

    }


    ChangeImage()

  </script>

</body>

</html>